<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title> - 出库信息</title>
		<meta name="keywords" content="">
		<meta name="description" content="">

		<link rel="shortcut icon" href="__PUBLIC__/admin/favicon.ico">
		<link href="__PUBLIC__/admin/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
		<link href="__PUBLIC__/admin/css/font-awesome.css?v=4.4.0" rel="stylesheet">

		<link href="__PUBLIC__/admin/css/animate.css" rel="stylesheet">
		<link href="__PUBLIC__/admin/css/style.css?v=4.1.0" rel="stylesheet">
		<style>
			.ay-header-action-bar {
				border-bottom: 1px solid #e0e0e0;
				margin: 10px 0 0 0;
				padding: 0 20px 10px 20px;
				height: 30px;
			}
			
			.ay-header-action-bar a {
				color: grey;
				line-height: 30px;
			}
			
			.wrap {
				padding: 10px 20px 70px;
			}
			
			.ay-table {
				width: 100%;
				border-collapse: collapse;
			}
			
			.ay-table td {
				padding-top: 5px;
			}
			
			.ay-table-left {
				width: 150px;
				text-align: center;
			}
			
			.form-required {
				color: red;
			}
			
			.table-actions {
				margin-bottom: 10px;
				padding: 0px;
			}
		</style>
	</head>

	<body class="gray-bg">
		<div class="animated fadeInDown">
			<div class="ay-header-action-bar">
				<div class="pull-left">
					<a href="{:URL('kucun/storehouse')}">
						<i class="fa fa-chevron-left"></i> 返回
					</a>
				</div>
				<div class="pull-right">
				</div>
			</div>
			<div class="wrap js-check-wrap">
				<form class="js-ajax-form" method="post" action="outcollection" novalidate="novalidate">
					<div class="panel panel-default">
						<div class="panel-heading">
							出库信息
						</div>
						<div class="panel-body">
							<table class="ay-table">
								<tbody>
								
									<tr>
										<td class="ay-table-left">
											<label for="no" class="control-label">单号</label>
										</td>
										<td>
											<div class="col-xs-8">
												<input type="text" class="form-control" id="no" name="num" value="{$alist['num']}" readonly="readonly" placeholder="自动生成">
											</div>
											<input id="id" class="form-control" name="id" type="hidden" value="{$alist['id']}">
										</td>
									</tr>

									<tr>
										<td class="ay-table-left">
											<label for="getperson" class="control-label">提取人</label>
										</td>
										<td>
											<div class="col-xs-8">
												<input type="text" id="getperson" name="zname" value="" class="form-control">
											</div>
										</td>
									</tr>
									<tr>
										<td class="ay-table-left">
											<label for="currdate" class="control-label">
                                            <span>
                                               
                                            </span>转库日期</label>
										</td>
										<td>
											<div class="col-xs-8">
												<input class="form-control layer-date" name="time" placeholder="YYYY-MM-DD hh:mm:ss" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
												<label class="laydate-icon"></label>
											</div>
										</td>
									</tr>
									
									<tr>
										<td class="ay-table-left">
											<label for="getreason" class="control-label">转库说明</label>
										</td>
										<td colspan="3">
											<div class="col-xs-10">
												<textarea id="getreason" name="why" class="form-control"></textarea>
											</div>
										</td>

									</tr>
									<tr>
										<td>
											<button type="submit" class="btn btn-primary">提交</button>
										</td>
									</tr>
									<!--<tr>
                                    <td class="ay-table-left">
                                        <label for="memo" class="control-label">备注</label>
                                    </td>
                                    <td colspan="3">
                                        <div class="col-xs-10">
                                            <textarea id="memo" name="memo" class="form-control"></textarea>
                                        </div>
                                    </td>
                                </tr>-->
								</tbody>
							</table>
						</div>
					</div>
					<!-- <div class="panel panel-default">
						<div class="panel-heading">
							出库明细
						</div>
						<div class="panel-body">
							<table id="details" class="table table-hover table-bordered table-list ay-table">
								<thead>
									<tr>
										<th style="text-align: center; width:2%"></th>
										
										<th style="text-align: center; width:8%">总登记号</th>
										<th style="text-align: center; width:10%">名称</th>
										<th style="text-align:center;width:8%">作者</th>
										<th style="text-align:center;width:8%">出库人</th>
										<th style="text-align: center; width:8%">类别</th>
										<th style="text-align: center; width:10%">存放位置</th>
										<th style="text-align: center; width:8%">确认状态</th>
									</tr>
								</thead>
								<tbody>
									
									<tr>
										<th style="text-align: center;">1</th>
										
										<th style="text-align: center;">{$alist.num}</th>
										<th style="text-align: center;">{$alist.name}</th>
										<th style="text-align:center;">{$alist.author}</th>
										<th style="text-align:center;width:8%">{$alist.zname}</th>
										<th style="text-align: center;">{$alist.type}</th>
										<th style="text-align: center;">{$alist.cnum}</th>
										<td class="ay-center" style="vertical-align: middle">
											{if condition="$alist['state']==0 "}<span class="label label-danger">在库</span>
											{elseif condition="$alist['state']==1"}<span class="label label-success">出库</span>
											{elseif condition="$alist['state']==2"}<span class="label label-primary">转库</span> {/if}
											{if condition="$alist['why']==''"}
											<p></p>
											{else}
											<p>【{$alist['why']}】</p>
											{/if}
										</td>
									</tr>
									
									

								</tbody>
							</table>
							<div></div>
						</div>
					</div> -->
					<!-- <nav class="navbar navbar-default  navbar-fixed-bottom opacity100">
                    <div class="container-fluid">
                        <div class="pull-right">
                            <button type="button" id="btnSave" class="btn navbar-btn btn-primary btn-small js-ajax-submit">
                            </button>
                        </div>
                    </div>
                </nav>-->
				</form>
			</div>
		</div>

		<!-- 全局js -->
		<script src="__PUBLIC__/admin/js/jquery.min.js?v=2.1.4"></script>
		<script src="__PUBLIC__/admin/js/bootstrap.min.js?v=3.3.6"></script>
		<!-- layerDate plugin javascript -->
		<script src="__PUBLIC__/admin/js/plugins/layer/laydate/laydate.js"></script>
	</body>

</html>